package com.team2.outpatient_sys.pojo;

/**
 * 排班信息 实体类
 */
public class Schedule {
    // 排班id
    private Integer id;
    // 排班星期
    private Integer week;
    // 班期
    private String shift;
    // 科室id
    private Integer deptId;

    public Schedule() {
    }

    public Schedule(Integer id, Integer week, String shift, Integer deptId) {
        this.id = id;
        this.week = week;
        this.shift = shift;
        this.deptId = deptId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getWeek() {
        return week;
    }

    public void setWeek(Integer week) {
        this.week = week;
    }

    public String getShift() {
        return shift;
    }

    public void setShift(String shift) {
        this.shift = shift;
    }

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    @Override
    public String toString() {
        return "Schedule{" +
                "id=" + id +
                ", week=" + week +
                ", shift='" + shift + '\'' +
                ", deptId=" + deptId +
                '}';
    }
}
